﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc;
using LTSMZ.life.Model;
using LTSMZ.life.BLL;

namespace LTSMZ.life.UI.Controllers
{
    public class PImgController : Controller
    {
        //
        // GET: /PImg/
        PImgBll bll = new PImgBll();
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult GetPImg(int id)
        {
            return Json(bll.GetPimg(id), JsonRequestBehavior.AllowGet);
        }
        public ActionResult GetPImgzhu(int id)
        {
            return Json(bll.GetPimgzhu(id), JsonRequestBehavior.AllowGet);
        }

    }
}
